package com.crm.model.entity.activityManager;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CustomerProductGiftActivityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CustomerProductGiftActivityExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andProductGiftActivityIdIsNull() {
            addCriterion("product_gift_activity_id is null");
            return (Criteria) this;
        }

        public Criteria andProductGiftActivityIdIsNotNull() {
            addCriterion("product_gift_activity_id is not null");
            return (Criteria) this;
        }

        public Criteria andProductGiftActivityIdEqualTo(String value) {
            addCriterion("product_gift_activity_id =", value, "productGiftActivityId");
            return (Criteria) this;
        }

        public Criteria andProductGiftActivityIdNotEqualTo(String value) {
            addCriterion("product_gift_activity_id <>", value, "productGiftActivityId");
            return (Criteria) this;
        }

        public Criteria andProductGiftActivityIdGreaterThan(String value) {
            addCriterion("product_gift_activity_id >", value, "productGiftActivityId");
            return (Criteria) this;
        }

        public Criteria andProductGiftActivityIdGreaterThanOrEqualTo(String value) {
            addCriterion("product_gift_activity_id >=", value, "productGiftActivityId");
            return (Criteria) this;
        }

        public Criteria andProductGiftActivityIdLessThan(String value) {
            addCriterion("product_gift_activity_id <", value, "productGiftActivityId");
            return (Criteria) this;
        }

        public Criteria andProductGiftActivityIdLessThanOrEqualTo(String value) {
            addCriterion("product_gift_activity_id <=", value, "productGiftActivityId");
            return (Criteria) this;
        }

        public Criteria andProductGiftActivityIdLike(String value) {
            addCriterion("product_gift_activity_id like", value, "productGiftActivityId");
            return (Criteria) this;
        }

        public Criteria andProductGiftActivityIdNotLike(String value) {
            addCriterion("product_gift_activity_id not like", value, "productGiftActivityId");
            return (Criteria) this;
        }

        public Criteria andProductGiftActivityIdIn(List<String> values) {
            addCriterion("product_gift_activity_id in", values, "productGiftActivityId");
            return (Criteria) this;
        }

        public Criteria andProductGiftActivityIdNotIn(List<String> values) {
            addCriterion("product_gift_activity_id not in", values, "productGiftActivityId");
            return (Criteria) this;
        }

        public Criteria andProductGiftActivityIdBetween(String value1, String value2) {
            addCriterion("product_gift_activity_id between", value1, value2, "productGiftActivityId");
            return (Criteria) this;
        }

        public Criteria andProductGiftActivityIdNotBetween(String value1, String value2) {
            addCriterion("product_gift_activity_id not between", value1, value2, "productGiftActivityId");
            return (Criteria) this;
        }

        public Criteria andGiftActivityNameIsNull() {
            addCriterion("gift_activity_name is null");
            return (Criteria) this;
        }

        public Criteria andGiftActivityNameIsNotNull() {
            addCriterion("gift_activity_name is not null");
            return (Criteria) this;
        }

        public Criteria andGiftActivityNameEqualTo(String value) {
            addCriterion("gift_activity_name =", value, "giftActivityName");
            return (Criteria) this;
        }

        public Criteria andGiftActivityNameNotEqualTo(String value) {
            addCriterion("gift_activity_name <>", value, "giftActivityName");
            return (Criteria) this;
        }

        public Criteria andGiftActivityNameGreaterThan(String value) {
            addCriterion("gift_activity_name >", value, "giftActivityName");
            return (Criteria) this;
        }

        public Criteria andGiftActivityNameGreaterThanOrEqualTo(String value) {
            addCriterion("gift_activity_name >=", value, "giftActivityName");
            return (Criteria) this;
        }

        public Criteria andGiftActivityNameLessThan(String value) {
            addCriterion("gift_activity_name <", value, "giftActivityName");
            return (Criteria) this;
        }

        public Criteria andGiftActivityNameLessThanOrEqualTo(String value) {
            addCriterion("gift_activity_name <=", value, "giftActivityName");
            return (Criteria) this;
        }

        public Criteria andGiftActivityNameLike(String value) {
            addCriterion("gift_activity_name like", value, "giftActivityName");
            return (Criteria) this;
        }

        public Criteria andGiftActivityNameNotLike(String value) {
            addCriterion("gift_activity_name not like", value, "giftActivityName");
            return (Criteria) this;
        }

        public Criteria andGiftActivityNameIn(List<String> values) {
            addCriterion("gift_activity_name in", values, "giftActivityName");
            return (Criteria) this;
        }

        public Criteria andGiftActivityNameNotIn(List<String> values) {
            addCriterion("gift_activity_name not in", values, "giftActivityName");
            return (Criteria) this;
        }

        public Criteria andGiftActivityNameBetween(String value1, String value2) {
            addCriterion("gift_activity_name between", value1, value2, "giftActivityName");
            return (Criteria) this;
        }

        public Criteria andGiftActivityNameNotBetween(String value1, String value2) {
            addCriterion("gift_activity_name not between", value1, value2, "giftActivityName");
            return (Criteria) this;
        }

        public Criteria andGiftCategoryIsNull() {
            addCriterion("gift_category is null");
            return (Criteria) this;
        }

        public Criteria andGiftCategoryIsNotNull() {
            addCriterion("gift_category is not null");
            return (Criteria) this;
        }

        public Criteria andGiftCategoryEqualTo(String value) {
            addCriterion("gift_category =", value, "giftCategory");
            return (Criteria) this;
        }

        public Criteria andGiftCategoryNotEqualTo(String value) {
            addCriterion("gift_category <>", value, "giftCategory");
            return (Criteria) this;
        }

        public Criteria andGiftCategoryGreaterThan(String value) {
            addCriterion("gift_category >", value, "giftCategory");
            return (Criteria) this;
        }

        public Criteria andGiftCategoryGreaterThanOrEqualTo(String value) {
            addCriterion("gift_category >=", value, "giftCategory");
            return (Criteria) this;
        }

        public Criteria andGiftCategoryLessThan(String value) {
            addCriterion("gift_category <", value, "giftCategory");
            return (Criteria) this;
        }

        public Criteria andGiftCategoryLessThanOrEqualTo(String value) {
            addCriterion("gift_category <=", value, "giftCategory");
            return (Criteria) this;
        }

        public Criteria andGiftCategoryLike(String value) {
            addCriterion("gift_category like", value, "giftCategory");
            return (Criteria) this;
        }

        public Criteria andGiftCategoryNotLike(String value) {
            addCriterion("gift_category not like", value, "giftCategory");
            return (Criteria) this;
        }

        public Criteria andGiftCategoryIn(List<String> values) {
            addCriterion("gift_category in", values, "giftCategory");
            return (Criteria) this;
        }

        public Criteria andGiftCategoryNotIn(List<String> values) {
            addCriterion("gift_category not in", values, "giftCategory");
            return (Criteria) this;
        }

        public Criteria andGiftCategoryBetween(String value1, String value2) {
            addCriterion("gift_category between", value1, value2, "giftCategory");
            return (Criteria) this;
        }

        public Criteria andGiftCategoryNotBetween(String value1, String value2) {
            addCriterion("gift_category not between", value1, value2, "giftCategory");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceStartIsNull() {
            addCriterion("gift_activity_price_start is null");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceStartIsNotNull() {
            addCriterion("gift_activity_price_start is not null");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceStartEqualTo(BigDecimal value) {
            addCriterion("gift_activity_price_start =", value, "giftActivityPriceStart");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceStartNotEqualTo(BigDecimal value) {
            addCriterion("gift_activity_price_start <>", value, "giftActivityPriceStart");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceStartGreaterThan(BigDecimal value) {
            addCriterion("gift_activity_price_start >", value, "giftActivityPriceStart");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceStartGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("gift_activity_price_start >=", value, "giftActivityPriceStart");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceStartLessThan(BigDecimal value) {
            addCriterion("gift_activity_price_start <", value, "giftActivityPriceStart");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceStartLessThanOrEqualTo(BigDecimal value) {
            addCriterion("gift_activity_price_start <=", value, "giftActivityPriceStart");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceStartIn(List<BigDecimal> values) {
            addCriterion("gift_activity_price_start in", values, "giftActivityPriceStart");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceStartNotIn(List<BigDecimal> values) {
            addCriterion("gift_activity_price_start not in", values, "giftActivityPriceStart");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceStartBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("gift_activity_price_start between", value1, value2, "giftActivityPriceStart");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceStartNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("gift_activity_price_start not between", value1, value2, "giftActivityPriceStart");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceEndIsNull() {
            addCriterion("gift_activity_price_end is null");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceEndIsNotNull() {
            addCriterion("gift_activity_price_end is not null");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceEndEqualTo(BigDecimal value) {
            addCriterion("gift_activity_price_end =", value, "giftActivityPriceEnd");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceEndNotEqualTo(BigDecimal value) {
            addCriterion("gift_activity_price_end <>", value, "giftActivityPriceEnd");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceEndGreaterThan(BigDecimal value) {
            addCriterion("gift_activity_price_end >", value, "giftActivityPriceEnd");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceEndGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("gift_activity_price_end >=", value, "giftActivityPriceEnd");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceEndLessThan(BigDecimal value) {
            addCriterion("gift_activity_price_end <", value, "giftActivityPriceEnd");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceEndLessThanOrEqualTo(BigDecimal value) {
            addCriterion("gift_activity_price_end <=", value, "giftActivityPriceEnd");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceEndIn(List<BigDecimal> values) {
            addCriterion("gift_activity_price_end in", values, "giftActivityPriceEnd");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceEndNotIn(List<BigDecimal> values) {
            addCriterion("gift_activity_price_end not in", values, "giftActivityPriceEnd");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceEndBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("gift_activity_price_end between", value1, value2, "giftActivityPriceEnd");
            return (Criteria) this;
        }

        public Criteria andGiftActivityPriceEndNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("gift_activity_price_end not between", value1, value2, "giftActivityPriceEnd");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityStartIsNull() {
            addCriterion("gift_period_validity_start is null");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityStartIsNotNull() {
            addCriterion("gift_period_validity_start is not null");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityStartEqualTo(Date value) {
            addCriterion("gift_period_validity_start =", value, "giftPeriodValidityStart");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityStartNotEqualTo(Date value) {
            addCriterion("gift_period_validity_start <>", value, "giftPeriodValidityStart");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityStartGreaterThan(Date value) {
            addCriterion("gift_period_validity_start >", value, "giftPeriodValidityStart");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityStartGreaterThanOrEqualTo(Date value) {
            addCriterion("gift_period_validity_start >=", value, "giftPeriodValidityStart");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityStartLessThan(Date value) {
            addCriterion("gift_period_validity_start <", value, "giftPeriodValidityStart");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityStartLessThanOrEqualTo(Date value) {
            addCriterion("gift_period_validity_start <=", value, "giftPeriodValidityStart");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityStartIn(List<Date> values) {
            addCriterion("gift_period_validity_start in", values, "giftPeriodValidityStart");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityStartNotIn(List<Date> values) {
            addCriterion("gift_period_validity_start not in", values, "giftPeriodValidityStart");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityStartBetween(Date value1, Date value2) {
            addCriterion("gift_period_validity_start between", value1, value2, "giftPeriodValidityStart");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityStartNotBetween(Date value1, Date value2) {
            addCriterion("gift_period_validity_start not between", value1, value2, "giftPeriodValidityStart");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityEndIsNull() {
            addCriterion("gift_period_validity_end is null");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityEndIsNotNull() {
            addCriterion("gift_period_validity_end is not null");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityEndEqualTo(Date value) {
            addCriterion("gift_period_validity_end =", value, "giftPeriodValidityEnd");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityEndNotEqualTo(Date value) {
            addCriterion("gift_period_validity_end <>", value, "giftPeriodValidityEnd");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityEndGreaterThan(Date value) {
            addCriterion("gift_period_validity_end >", value, "giftPeriodValidityEnd");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityEndGreaterThanOrEqualTo(Date value) {
            addCriterion("gift_period_validity_end >=", value, "giftPeriodValidityEnd");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityEndLessThan(Date value) {
            addCriterion("gift_period_validity_end <", value, "giftPeriodValidityEnd");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityEndLessThanOrEqualTo(Date value) {
            addCriterion("gift_period_validity_end <=", value, "giftPeriodValidityEnd");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityEndIn(List<Date> values) {
            addCriterion("gift_period_validity_end in", values, "giftPeriodValidityEnd");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityEndNotIn(List<Date> values) {
            addCriterion("gift_period_validity_end not in", values, "giftPeriodValidityEnd");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityEndBetween(Date value1, Date value2) {
            addCriterion("gift_period_validity_end between", value1, value2, "giftPeriodValidityEnd");
            return (Criteria) this;
        }

        public Criteria andGiftPeriodValidityEndNotBetween(Date value1, Date value2) {
            addCriterion("gift_period_validity_end not between", value1, value2, "giftPeriodValidityEnd");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodIsNull() {
            addCriterion("exchange_method is null");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodIsNotNull() {
            addCriterion("exchange_method is not null");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodEqualTo(String value) {
            addCriterion("exchange_method =", value, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodNotEqualTo(String value) {
            addCriterion("exchange_method <>", value, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodGreaterThan(String value) {
            addCriterion("exchange_method >", value, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodGreaterThanOrEqualTo(String value) {
            addCriterion("exchange_method >=", value, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodLessThan(String value) {
            addCriterion("exchange_method <", value, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodLessThanOrEqualTo(String value) {
            addCriterion("exchange_method <=", value, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodLike(String value) {
            addCriterion("exchange_method like", value, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodNotLike(String value) {
            addCriterion("exchange_method not like", value, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodIn(List<String> values) {
            addCriterion("exchange_method in", values, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodNotIn(List<String> values) {
            addCriterion("exchange_method not in", values, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodBetween(String value1, String value2) {
            addCriterion("exchange_method between", value1, value2, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodNotBetween(String value1, String value2) {
            addCriterion("exchange_method not between", value1, value2, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNull() {
            addCriterion("delete_status is null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNotNull() {
            addCriterion("delete_status is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusEqualTo(Short value) {
            addCriterion("delete_status =", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotEqualTo(Short value) {
            addCriterion("delete_status <>", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThan(Short value) {
            addCriterion("delete_status >", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThanOrEqualTo(Short value) {
            addCriterion("delete_status >=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThan(Short value) {
            addCriterion("delete_status <", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThanOrEqualTo(Short value) {
            addCriterion("delete_status <=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIn(List<Short> values) {
            addCriterion("delete_status in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotIn(List<Short> values) {
            addCriterion("delete_status not in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusBetween(Short value1, Short value2) {
            addCriterion("delete_status between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotBetween(Short value1, Short value2) {
            addCriterion("delete_status not between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andGiftShelfStatusIsNull() {
            addCriterion("gift_shelf_status is null");
            return (Criteria) this;
        }

        public Criteria andGiftShelfStatusIsNotNull() {
            addCriterion("gift_shelf_status is not null");
            return (Criteria) this;
        }

        public Criteria andGiftShelfStatusEqualTo(String value) {
            addCriterion("gift_shelf_status =", value, "giftShelfStatus");
            return (Criteria) this;
        }

        public Criteria andGiftShelfStatusNotEqualTo(String value) {
            addCriterion("gift_shelf_status <>", value, "giftShelfStatus");
            return (Criteria) this;
        }

        public Criteria andGiftShelfStatusGreaterThan(String value) {
            addCriterion("gift_shelf_status >", value, "giftShelfStatus");
            return (Criteria) this;
        }

        public Criteria andGiftShelfStatusGreaterThanOrEqualTo(String value) {
            addCriterion("gift_shelf_status >=", value, "giftShelfStatus");
            return (Criteria) this;
        }

        public Criteria andGiftShelfStatusLessThan(String value) {
            addCriterion("gift_shelf_status <", value, "giftShelfStatus");
            return (Criteria) this;
        }

        public Criteria andGiftShelfStatusLessThanOrEqualTo(String value) {
            addCriterion("gift_shelf_status <=", value, "giftShelfStatus");
            return (Criteria) this;
        }

        public Criteria andGiftShelfStatusLike(String value) {
            addCriterion("gift_shelf_status like", value, "giftShelfStatus");
            return (Criteria) this;
        }

        public Criteria andGiftShelfStatusNotLike(String value) {
            addCriterion("gift_shelf_status not like", value, "giftShelfStatus");
            return (Criteria) this;
        }

        public Criteria andGiftShelfStatusIn(List<String> values) {
            addCriterion("gift_shelf_status in", values, "giftShelfStatus");
            return (Criteria) this;
        }

        public Criteria andGiftShelfStatusNotIn(List<String> values) {
            addCriterion("gift_shelf_status not in", values, "giftShelfStatus");
            return (Criteria) this;
        }

        public Criteria andGiftShelfStatusBetween(String value1, String value2) {
            addCriterion("gift_shelf_status between", value1, value2, "giftShelfStatus");
            return (Criteria) this;
        }

        public Criteria andGiftShelfStatusNotBetween(String value1, String value2) {
            addCriterion("gift_shelf_status not between", value1, value2, "giftShelfStatus");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNull() {
            addCriterion("create_people_id is null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNotNull() {
            addCriterion("create_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdEqualTo(String value) {
            addCriterion("create_people_id =", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotEqualTo(String value) {
            addCriterion("create_people_id <>", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThan(String value) {
            addCriterion("create_people_id >", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("create_people_id >=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThan(String value) {
            addCriterion("create_people_id <", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("create_people_id <=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLike(String value) {
            addCriterion("create_people_id like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotLike(String value) {
            addCriterion("create_people_id not like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIn(List<String> values) {
            addCriterion("create_people_id in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotIn(List<String> values) {
            addCriterion("create_people_id not in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdBetween(String value1, String value2) {
            addCriterion("create_people_id between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("create_people_id not between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNull() {
            addCriterion("create_tm is null");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNotNull() {
            addCriterion("create_tm is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTmEqualTo(Date value) {
            addCriterion("create_tm =", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotEqualTo(Date value) {
            addCriterion("create_tm <>", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThan(Date value) {
            addCriterion("create_tm >", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("create_tm >=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThan(Date value) {
            addCriterion("create_tm <", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThanOrEqualTo(Date value) {
            addCriterion("create_tm <=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmIn(List<Date> values) {
            addCriterion("create_tm in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotIn(List<Date> values) {
            addCriterion("create_tm not in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmBetween(Date value1, Date value2) {
            addCriterion("create_tm between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotBetween(Date value1, Date value2) {
            addCriterion("create_tm not between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNull() {
            addCriterion("update_people_id is null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNotNull() {
            addCriterion("update_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdEqualTo(String value) {
            addCriterion("update_people_id =", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotEqualTo(String value) {
            addCriterion("update_people_id <>", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThan(String value) {
            addCriterion("update_people_id >", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("update_people_id >=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThan(String value) {
            addCriterion("update_people_id <", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("update_people_id <=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLike(String value) {
            addCriterion("update_people_id like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotLike(String value) {
            addCriterion("update_people_id not like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIn(List<String> values) {
            addCriterion("update_people_id in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotIn(List<String> values) {
            addCriterion("update_people_id not in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdBetween(String value1, String value2) {
            addCriterion("update_people_id between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("update_people_id not between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNull() {
            addCriterion("update_tm is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNotNull() {
            addCriterion("update_tm is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmEqualTo(Date value) {
            addCriterion("update_tm =", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotEqualTo(Date value) {
            addCriterion("update_tm <>", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThan(Date value) {
            addCriterion("update_tm >", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("update_tm >=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThan(Date value) {
            addCriterion("update_tm <", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThanOrEqualTo(Date value) {
            addCriterion("update_tm <=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIn(List<Date> values) {
            addCriterion("update_tm in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotIn(List<Date> values) {
            addCriterion("update_tm not in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmBetween(Date value1, Date value2) {
            addCriterion("update_tm between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotBetween(Date value1, Date value2) {
            addCriterion("update_tm not between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdIsNull() {
            addCriterion("customer_product_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdIsNotNull() {
            addCriterion("customer_product_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdEqualTo(String value) {
            addCriterion("customer_product_id =", value, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdNotEqualTo(String value) {
            addCriterion("customer_product_id <>", value, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdGreaterThan(String value) {
            addCriterion("customer_product_id >", value, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdGreaterThanOrEqualTo(String value) {
            addCriterion("customer_product_id >=", value, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdLessThan(String value) {
            addCriterion("customer_product_id <", value, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdLessThanOrEqualTo(String value) {
            addCriterion("customer_product_id <=", value, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdLike(String value) {
            addCriterion("customer_product_id like", value, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdNotLike(String value) {
            addCriterion("customer_product_id not like", value, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdIn(List<String> values) {
            addCriterion("customer_product_id in", values, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdNotIn(List<String> values) {
            addCriterion("customer_product_id not in", values, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdBetween(String value1, String value2) {
            addCriterion("customer_product_id between", value1, value2, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdNotBetween(String value1, String value2) {
            addCriterion("customer_product_id not between", value1, value2, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesIsNull() {
            addCriterion("product_categories is null");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesIsNotNull() {
            addCriterion("product_categories is not null");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesEqualTo(String value) {
            addCriterion("product_categories =", value, "productCategories");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesNotEqualTo(String value) {
            addCriterion("product_categories <>", value, "productCategories");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesGreaterThan(String value) {
            addCriterion("product_categories >", value, "productCategories");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesGreaterThanOrEqualTo(String value) {
            addCriterion("product_categories >=", value, "productCategories");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesLessThan(String value) {
            addCriterion("product_categories <", value, "productCategories");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesLessThanOrEqualTo(String value) {
            addCriterion("product_categories <=", value, "productCategories");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesLike(String value) {
            addCriterion("product_categories like", value, "productCategories");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesNotLike(String value) {
            addCriterion("product_categories not like", value, "productCategories");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesIn(List<String> values) {
            addCriterion("product_categories in", values, "productCategories");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesNotIn(List<String> values) {
            addCriterion("product_categories not in", values, "productCategories");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesBetween(String value1, String value2) {
            addCriterion("product_categories between", value1, value2, "productCategories");
            return (Criteria) this;
        }

        public Criteria andProductCategoriesNotBetween(String value1, String value2) {
            addCriterion("product_categories not between", value1, value2, "productCategories");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}